#pragma warning(disable:4996)
#include<stdio.h>
#include<stdlib.h>
int main()
{
	int a, b, c, max;
	scanf("%d %d %d", &a, &b, &c);
	max = abs(a) >= abs(b) ? a : b;
	max = abs(max) >= abs(c) ? max : c;
	printf("%d", max);
	return 0;
}
